# Created by: Olivier Duchateau
# $FreeBSD: head/x11-toolkits/granite/Makefile 349067 2014-03-24 20:53:35Z olivierd $
#

PORTNAME=	granite
PORTVERSION=	0.2.3.1
PORTREVISION=	1
CATEGORIES=	x11-toolkits
MASTER_SITES=	https://launchpadlibrarian.net/169958088/ \
	https://launchpad.net/${PORTNAME}/0.2/${PORTVERSION}/+download/
DIST_SUBDIR=	eos

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Extensions of Gtk+ toolkit

LICENSE=	GPLv3

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libgee-0.8.so:${PORTSDIR}/devel/libgee
RUN_DEPENDS=	contractor:${PORTSDIR}/sysutils/contractor

USE_GCC=	yes
USES=	cmake pkgconfig gettext tar:tgz
USE_GNOME=	glib20 gtk30 introspection:build
INSTALLS_ICONS=	yes
USE_LDCONFIG=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|gee-1.0|gee-0.8|' ${WRKSRC}/lib/granite.deps

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgranite.so

.include <bsd.port.mk>
